package com.itcast.service;

import com.github.pagehelper.PageInfo;
import com.itcast.dto.TechnicianQuery;
import com.itcast.entity.Technician;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface TechnicianService {

    public PageInfo<Technician> getTechniciansByPage(TechnicianQuery query, Integer pageNum, Integer pageSize);

    public Technician saveTechnician(Technician technician, MultipartFile mainImg, MultipartFile listImg) throws IOException;

    public Technician selectById(int id);
}
